package com.hello.system;

import com.hello.common.security.annotation.EnableCustomConfig;
import com.hello.common.security.annotation.EnableHiFeignClients;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import com.hello.system.config.MailConfig;

/**
 * 系统模块
 * 
 * @author hello
 */
@EnableCustomConfig
@EnableHiFeignClients
@SpringBootApplication
@MapperScan("com.hello.system.mapper")
@Import({MailConfig.class})
public class HelloSystemApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(HelloSystemApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  系统模块启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                "  _    _   _          _____               _                    \n" +
                " | |  | | (_)        / ____|             | |                   \n" +
                " | |__| |  _   ___  | (___   _   _  ___  | |_   ___  _ __ ___  \n" +
                " |  __  | | | |___|  \\___ \\ | | | |/ __| | __| / _ \\| '_ ` _ \\ \n" +
                " | |  | | | |        ____) || |_| |\\__ \\ | |_ |  __/| | | | | |\n" +
                " |_|  |_| |_|       |_____/  \\__, ||___/  \\__| \\___||_| |_| |_|\n" +
                "                              __/ |                           \n" +
                "                             |___/                            ");
    }
}
